<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/conn.asp"-->
<!--#include file="lib/saferequest.asp"-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<link rel="stylesheet" href="lib/sheet.css" type="text/css" />
<script type="text/javascript" src="lib/jquery_lastest.js"></script>
<script type="text/javascript"> 
	$(function() {
	//http://221.12.55.171:8889/getpositionTP.asp?regnum=浙B8E792&jsonpcallback=?
	//http://192.168.0.253/huoyun/jsonp.test.asp?reg=浙B8E792&jsonpcallback=?
	//	$.getJSON("jsonproxy.asp",{"url":"http://221.12.55.171:8889/getpositionTP.asp?regnum=浙B8E792"},function(data){
		$.getJSON("http://221.12.55.171:8889/jsonp.test.asp?reg=浙B8E792&jsonpcallback=?",function(data){
			$.each(data,function(i,item){
				$("#map_canvas").append(item.id+" "+item.name+"<br />");
			
			});
			//lng=data.features[0].geometry.coordinates[0];
			//lat=data.features[0].geometry.coordinates[1];
			//id=data.features[0].properties.id;
			//timeStamp=data.features[0].properties.timeStamp;
			//accuracyInMeters=data.features[0].properties.accuracyInMeters;
			//reverseGeocode=data.features[0].properties.reverseGeocode;
			//alert(lat);
			//alert(lng);
			//alert(id);
			//alert(timeStamp);
			//alert(accuracyInMeters);
			//alert(reverseGeocode);
			//var t = new Date(timeStamp);
			//alert(t.toLocaleString());

			//$("#map_canvas").html(reverseGeocode);
		});
	
	});
 
</script> 
</head> 
<body> 
  <div id="map_canvas"></div> 
</body> 
</html> 